<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>登录</title>
</head>
<body>
<h2>登录</h2>
<form th:action="@{/doLogin}" method="post">
    <input type="hidden" name="backUrl" th:value="${param.backUrl}">
    <input type="text" name="userName" value="">
    <input type="password" name="userPwd" value="">
    <input type="checkbox" name="rememberMe">自动登录
    <span th:text="${msg}"/>
    <input type="submit" value="登录">
</form>
</body>
</html>